package cn.exrick.xboot.base.service

import cn.exrick.xboot.base.dto.ExamConfirmDto
import cn.exrick.xboot.base.entity.ExamConfirmCheck
import cn.exrick.xboot.base.vo.EmployeeOfficialExamVo
import cn.exrick.xboot.base.vo.ExamConfirmCheckDetailVo
import cn.exrick.xboot.base.vo.ExamConfirmCheckListVo
import cn.exrick.xboot.core.common.utils.ResultUtil
import cn.exrick.xboot.core.common.vo.PageVo
import cn.exrick.xboot.core.common.vo.Result
import com.baomidou.mybatisplus.extension.service.IService
import io.swagger.annotations.ApiModelProperty

/**
 * 考试监督员考试确认审核接口
 * @author Fei
 */
interface IExamConfirmCheckService : IService<ExamConfirmCheck?> {


    /**
     * 添加监督员考试审核记录
     */
    fun createExamConfirmCheck(examConfirmDto: ExamConfirmDto): Result<Any?>?


    /**
     * 监管部门获取自己的考试审核记录
     */
    fun getExamConfirmBySupervisionId(pageVo: PageVo, confirmMessage: Boolean?): Result<MutableMap<String, Any?>>?


    /**
     * 获取考试审核详情
     */
    fun getExamConfirmDetail(id: String): Result<EmployeeOfficialExamVo?>?


    /**
     * 审核考试
     */
    fun checkExam(id: String?): Result<Any?>?




    /*-----------------辅助类-----------------------*/

    /**
     * 获取审核状态
     */
    fun getExamConfirmCheckStatusByOfficialId(examOfficialExamId: String): Boolean?

}